#!/usr/bin/env bash

#在./test-01/test-02下，添加./test-01/test-02/333.txt，commit
#在./test-02下，pull，./test-02/333.txt必须存在！

cd ${DIR_NAME_01}
cd ${DIR_NAME_02}
cp -f ../../../333.txt 333.txt
git add 333.txt
git commit -m "add 333.txt"
git push

cd ..
cd ..
cd ${DIR_NAME_02}
git pull
